package stereoJavaconfig.soundsystem;

public class CDPlayer implements MediaPlayer {
	private CompactDisc cd;

	//	@Autowired
	public CDPlayer(CompactDisc cd) {
		this.cd = cd;
	}

	@Override
	public void play() {
		cd.play();
	}

}
